package com.bw.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Scope;
import org.springframework.stereotype.Component;

/***************************
 FileAction:

 CreateTime:2022-08-24 13:51
 Author:Aaking-aline
 ****************************/
//@Data
//@NoArgsConstructor
//@AllArgsConstructor
@Component
@Scope("prototype")
public class User {
	@Value("1")
	private Integer id;
	@Value("zhou")
	private String username;
	@Value("1234")
	private String password;
	@Value("2022-08-24")
	private String joinTime;

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getUsername() {
		return username;
	}

	public void setUsername(String username) {
		this.username = username;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public String getJoinTime() {
		return joinTime;
	}

	public void setJoinTime(String joinTime) {
		this.joinTime = joinTime;
	}
}
